package com.yanggu.spock.exception;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 自定义业务异常
 */
@Data
@AllArgsConstructor
public class APIException extends RuntimeException {

    private String errorCode;

    private String errorMessage;

}